package com.lingchen.boot;

import lombok.extern.slf4j.Slf4j;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import tk.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * I'm a cute code dog
 * User: LingChen
 * Date:2017/6/20
 * Time:18:15
 */
@SpringBootApplication
@EnableScheduling
@MapperScan(basePackages = "com.lingchen.boot.mapper")
public class Application {
    private static final Logger logger = LogManager.getLogger(Application.class);
    public static void main(String[] args) {

        ConfigurableApplicationContext run = SpringApplication.run(Application.class);
    }


}
